package com.dou.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.dou.dao.UserMapper;
import com.dou.entity.User;
import com.dou.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Service
@Component
public class UserServiceImpl implements UserService {
    @Autowired
    @SuppressWarnings("ALL")
    private UserMapper userMapper;
    @Override
    public List<User> getAllUser() {
        return userMapper.getAllUser();
    }
}
